﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Love.Awesome.TMX
{
    public class Text:TMXObjectChild
    {
        [XmlAttribute("fontfamily")]
        public string FontFamily;

        [XmlAttribute("pixelsize")]
        public int PixelSize;

        [XmlAttribute("wrap")]
        public BoolEnum Wrap;

        [XmlAttribute("color")]
        public string Color;

        [XmlAttribute("bold")]
        public BoolEnum Bold;

        [XmlAttribute("italic")]
        public BoolEnum Italic;

        [XmlAttribute("underline")]
        public BoolEnum Underline;

        [XmlAttribute("strikeout")]
        public BoolEnum StrikeOut;

        [XmlAttribute("kerning")]
        public BoolEnum Kerning;

        [XmlAttribute("halign")]
        public HorizontalAlignment Halign;

        [XmlAttribute("valign")]
        public VerticalAlignment Valign;
    }
}
